<div class="ts-tab-ctt">
    <ul>
        {{if tabList && tabList.length > 0 }}
        {{each tabList as tab index }}
        {{if !curTab || index == curTab}}
        <li class="tab-active">
        {{else}}
        <li>
        {{/if}}
            {{tab.title}}
        </li>
        {{/if}}
    </ul>
</div>